JAVA=java
JAVAC=javac
JFLEX=jflex
CUP=$(JAVA) -jar java-cup-11a.jar

all: test

test: *.java
	$(JAVAC) -d ../parser/syntaxTree $^

%.class: %.java
	$(JAVAC) -d ../parser/syntaxTree $^
	
clean:
	del parser.java miniJava.java sym.java *.class *~
